package com.example.modularservice.impl;

import com.example.modularpersistent.dao.UserDao;
import com.example.modularpersistent.domain.User;
import com.example.modularservice.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User getUser(int id) {
        return userDao.getUser(id);
    }
}
